Skip to content

ci(dependabot): bump pyproject.toml only when a version leaves its range - #838

Merged
Hananel-Hazan merged 1 commit into
masterfrom
ci/dependabot-increase-if-necessary
Nov 10, 2026
Merged

Hananel-Hazan merged 1 commit into
masterfrom
ci/dependabot-increase-if-necessary

Conversation

@Hananel-Hazan

@Hananel-Hazan Hananel-Hazan commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Routine Dependabot updates raised the lowest allowed versions in pyproject.toml (for example pandas>=3.1.0 to >=3.1.1 in #836). The weakened-tests guard flags every pyproject.toml change, so each such update needed the tests-changed-ok label.

This sets versioning-strategy: increase-if-necessary for the pip ecosystem. Updates that fit the existing range now change poetry.lock only. Updates outside the range (major versions) still edit pyproject.toml and still get the guard's review, which is wanted for majors. A side benefit is that the floors users see stop rising on every patch release.

Not verified yet: GitHub's docs list pip (which covers Poetry) as supporting versioning-strategy, but they do not show an example for Poetry with a PEP 621 [project] table. Next Monday's Dependabot run will show it.

AI assistance

  • No AI tools were used
  • AI tools were used, and I (a human) have read every changed line

Tools used and for which parts: Claude Code (Claude Opus 5.5) wrote the change and this description.

🤖 Generated with Claude Code

Routine Dependabot bumps raised the floors in pyproject.toml (pandas>=3.1.1
in #836), which the weakened-tests guard flags as a steering file. With
increase-if-necessary, in-range bumps touch poetry.lock only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Hananel-Hazan Hananel-Hazan added dependencies Pull requests that update a dependency file tests-changed-ok Maintainer reviewed every item the weakened-tests check listed labels Nov 10, 2026
@Hananel-Hazan
Hananel-Hazan merged commit f06ef79 into master Nov 10, 2026
15 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file tests-changed-ok Maintainer reviewed every item the weakened-tests check listed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant